package com.kob.design.factoy_method;

/**
 * @Description: TODO
 * @Author: fyt
 * @Date: 2024/4/15 15:27
 **/
public abstract class Coffee {
    public abstract String getName();

    public void addSugar(){
        System.out.println("加糖");
    }

    public void addMilk(){
        System.out.println("加奶");
    }
}
